package com.liuhung.ash.security.entity;

import com.liuhung.base.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.List;
/**
 *	@ClassName: Model 
 *  @Description: <b>模型实体类</b>
 *  @author 刘  鸿 
 *  @date 2015-9-29 0:07:40
 */ 
public class Model extends BaseEntity {
		private java.lang.Integer id;//   主键	private java.lang.String name;//   名称	private java.lang.String enname;//   代码	private java.lang.Integer pid;//   上级模型	private java.lang.String remark;//   说明	private java.lang.String icon;//   图标
	
	private Model parent;
	private List<Model> children;	public java.lang.Integer getId() {	    return this.id;	}	public void setId(java.lang.Integer id) {	    this.id=id;	}	public java.lang.String getName() {	    return this.name;	}	public void setName(java.lang.String name) {	    this.name=name;	}	public java.lang.String getEnname() {	    return this.enname;	}	public void setEnname(java.lang.String enname) {	    this.enname=enname;	}	public java.lang.Integer getPid() {	    return this.pid;	}	public void setPid(java.lang.Integer pid) {	    this.pid=pid;	}	public java.lang.String getRemark() {	    return this.remark;	}	public void setRemark(java.lang.String remark) {	    this.remark=remark;	}	public java.lang.String getIcon() {	    return this.icon;	}	public void setIcon(java.lang.String icon) {	    this.icon=icon;	}
	public Model getParent() {
		return parent;
	}
	public void setParent(Model parent) {
		this.parent = parent;
	}
	public List<Model> getChildren() {
		return children;
	}
	public void setChildren(List<Model> children) {
		this.children = children;
	}
}

